package com.lhm.service;


import com.lhm.entity.LargeFile;
import com.lhm.mapper.LargeFileMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LargeFileServiceImpl implements LargeFileService {
    @Autowired
    LargeFileMapper largeFileMapper;


    @Override
    public void addLargefile(LargeFile largeFile) {
        largeFileMapper.addLargefile(largeFile);
    }

    @Override
    public LargeFile findById(String id) {
        return largeFileMapper.findById(id);
    }

    @Override
    public void delete(String id) {
        largeFileMapper.delete(id);
    }
}
